<template>
  <div class="content">
    <div class="breadcrumb" :gutter="24">
      {{$t('system.permission_management')}}
    </div>
    <el-tabs v-model="activeName">
      <el-tab-pane :label="$t('system.role_management')" name="first">
        <userGroup v-if="activeName == 'first'"></userGroup>
      </el-tab-pane>
      <el-tab-pane :label="$t('system.user_management')" name="second">
        <userAdmin v-if="activeName == 'second'"></userAdmin>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import userGroup from "./template/userGroup.vue"
import userAdmin from "./template/userAdmin.vue"
export default {
  components: {
    userGroup,
    userAdmin,
  },
  data () {
    return {
      activeName: "first",
    }
  },
  created () {

  },
  methods: {

  }
}
</script>
<style scoped>
.content >>> .el-tabs--border-card {
  box-shadow: none;
}
</style>